Add TodoMVC with indexedDB storage#531
Conversation
✅ Deploy Preview for webkit-speedometer-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Opening a replacement PR to take over: The original PR author is no longer available. I copied the current branch state and will address existing review feedback here. Please see the old PR for historical context: #523 . If anything is missing, let me know and I’ll add it here. |
…he indexedDB version
* Fix typo in finishedAdditions variable name in BaseStorageManager * Commit transaction after sorting items in getTodos method * Simplify toggleTodo method by using update for completion status * Fix sorting order comment in getTodos method for clarity
8383f2e to
d137671
Compare
|
@abhishek-shanthkumar I am unable to add you as a reviewer so could you please join as a reviewer? Thanks! |
|
- test-invoker: Propagate results in AsyncRAFTestInvoker so BenchmarkSuite.runAndRecord receives timing data instead of undefined. - test-runner: Add null-page fallback in measureAsync so remote workloads that pass null for frame/page can still force layout.
Remove local forks of helpers.mjs, params.mjs, test-invoker.mjs, and test-runner.mjs. The build now copies these directly from the shared node_modules/speedometer-utils package. Only benchmark.mjs remains forked (has ignoreResult support and AsyncTestRunner selection).
| const numberOfItemsPerIteration = 10; | ||
| const numberOfIterations = 10; | ||
| function iterationFinishedListener() { | ||
| iterationFinishedListener.promiseResolve(); |
There was a problem hiding this comment.
nit: I'd prefer a local variable instead of a setting state on a function, this is a bit unexpected maybe.
| if (j < 9) { | ||
| const previousPageButton = document.querySelector("todo-app").shadowRoot.querySelector("todo-bottombar").shadowRoot.querySelector(".previous-page-button"); | ||
| previousPageButton.click(); | ||
| await iterationFinishedPromise; |
There was a problem hiding this comment.
so far I don't see any real interactions inbetween this phase.. .but we might have to tweak this in the future if we want t compare performacne reliably. (delete and he read migh have to sync the DB I guess)
Results for the hosted prototype as of 12/12/2025